package adapterfacade.impl;

import adapterfacade.base.BaseSimpleDuck;
import adapterfacade.base.BaseTurkey;

/**
 * 绿头鸭 简单实现类
 * @author yaojianfeng
 */
public class MallardDuckImpl implements BaseSimpleDuck {
    /**
     * 鸭子 呱呱叫
     */
    @Override
    public void quack() {
        System.out.println("呱呱叫...呱呱叫...");
    }

    /**
     * 鸭子可以飞挺远
     */
    @Override
    public void fly() {
        System.out.println("一直飞~");
    }
}
